package felix.things.router.config;

import felix.things.router.opc.conf.OpcUaServerConfiguration;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Felix
 * @date 2019/10/31
 **/
@Data
@Component
@ConfigurationProperties(prefix = "opcua", ignoreInvalidFields = true)
public class OpcUaConfig {
    private boolean enable = false;
    List<OpcUaServerConfiguration> servers;
}
